package com.ruoyi.sys.emeknowledge.service;

import java.util.List;
import com.ruoyi.sys.emeknowledge.domain.TbEmergencyKnowledge;

/**
 * 应急知识库Service接口
 * 
 * @author iuxin
 * @date 2022-05-25
 */
public interface ITbEmergencyKnowledgeService 
{
    /**
     * 查询应急知识库
     * 
     * @param ekId 应急知识库主键
     * @return 应急知识库
     */
    public TbEmergencyKnowledge selectTbEmergencyKnowledgeByEkId(Long ekId);

    /**
     * 查询应急知识库列表
     * 
     * @param tbEmergencyKnowledge 应急知识库
     * @return 应急知识库集合
     */
    public List<TbEmergencyKnowledge> selectTbEmergencyKnowledgeList(TbEmergencyKnowledge tbEmergencyKnowledge);

    /**
     * 新增应急知识库
     * 
     * @param tbEmergencyKnowledge 应急知识库
     * @return 结果
     */
    public int insertTbEmergencyKnowledge(TbEmergencyKnowledge tbEmergencyKnowledge);

    /**
     * 修改应急知识库
     * 
     * @param tbEmergencyKnowledge 应急知识库
     * @return 结果
     */
    public int updateTbEmergencyKnowledge(TbEmergencyKnowledge tbEmergencyKnowledge);

    /**
     * 批量删除应急知识库
     * 
     * @param ekIds 需要删除的应急知识库主键集合
     * @return 结果
     */
    public int deleteTbEmergencyKnowledgeByEkIds(Long[] ekIds);

    /**
     * 删除应急知识库信息
     * 
     * @param ekId 应急知识库主键
     * @return 结果
     */
    public int deleteTbEmergencyKnowledgeByEkId(Long ekId);
}
